//
//  XYJLanguageTopView.h
//  徙游记-01
//
//  Created by hcios on 2017/7/17.
//  Copyright © 2017年 鹿林. All rights reserved.
//

#import <UIKit/UIKit.h>
@class XYJLanguageTopView;

@protocol XYJLanguageTopViewDelegate <NSObject>


-(void)clickFrom:(id)sender;
-(void)clickTo:(id)sender;
-(void)clickChange:(id)sender;

@end


@interface XYJLanguageTopView : UIView

@property (nonatomic,strong) UIButton *fromBtn;

@property (nonatomic,strong) UIButton *toBtn;

@property (nonatomic,strong) UIButton *changeBtn;

@property (nonatomic,weak) id <XYJLanguageTopViewDelegate>delegate;

-(void)setupSubViewsFromText:(NSString *)fromText toText:(NSString *)toText;

@end
